package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.bean.MouseBean;

public interface MouseService extends IService<MouseBean> {


    /**
     *分页显示
     * @param pageNO
     * @param pageSize
     * @return
     */
    IPage<MouseBean> findAllMouse(int pageNO,int pageSize);

    /**
     * 添加
     * @param mouseBean
     */
    void addMouse(MouseBean mouseBean);

    /**
     * id查询
     * @param mouseId
     * @return
     */
    MouseBean findId(int mouseId);

    /**
     * 鼠害名模糊查询
     * @param pageNO
     * @param pageSize
     * @param mouseName
     * @return
     */
    IPage<MouseBean> findName(int pageNO,int pageSize,String mouseName);
}
